home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 5
/
Aminet 5 - March 1995.iso
/
Aminet
/
dev
/
gui
/
BGUI11B.lha
/
docs
/
buttonclass.doc
< prev
next >
Wrap
Text File
|
1994-11-18
|
3KB
|
77 lines
$RCSfile: buttonclass.doc,v $
Description: Buttonclass documentation.
Copyright: (C) Copyright 1994 Jaba Development.
(C) Copyright 1994 Jan van den Baard.
All Rights Reserved.
$Author: jaba $
$Revision: 1.2 $
$Date: 1994/11/09 20:20:48 $
------------------------------------------------------------------------------
TABLE OF CONTENTS
buttonclass/--background--
buttonclass/Methods
buttonclass/Attributes
buttonclass/--background-- buttonclass/--background--
NAME
Class: buttonclass
Superclass: baseclass
Include File: <llibraries/bgui.h>
FUNCTION
To provide a gadget simular to the gadtools.library button kind. The
gadget can either be a normal button or a toggle button. Vectorclass
attributes can be passed at create time to add imagery to the gadget.
The gadget will send the following attributes in it's notification
events:
GA_ID - Gadget object ID.
GA_UserData - Gadget object userdata contents.
GA_Selected - Gadget object selected state.
Please note that the gadget will send out interim notification
messages every single timer tick while the gadget is selected.
buttonclass/Methods buttonclass/Methods
NEW METHODS
None.
CHANGED METHODS
None.
buttonclass/Attributes buttonclass/Attributes
NOTE: The VIT_VectorArray and VIT_BuiltIn attributes are also settable
with OM_SET or OM_UPDATE.
NAME
GA_Selected - ( BOOL )
FUNCTION
This attributes has an extended applicability. It has been made
get-able to make it easy to inquire about the selected state of an
object.
Default is FALSE. Applicability is (ISGNU).
NAME
BUTTON_Image, BUTTON_SelectedImage -- ( struct Image * )
FUNCTION
To provide a button object width a standard Intuition or BOOPSI image.
The images will be centered inside the object it's hitbox. You can
supply a selected image which is shown when the gadget is selected.
If no selected imagery is specified the normal image is also shown
when the gadget is selected.
This attribute overides the creation of a VectorClass image.
Defaults are NULL. Applicability is (I).